get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" DIRECTORY)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" DIRECTORY)

add_library(GL::freeglut SHARED IMPORTED)
set_target_properties(GL::freeglut PROPERTIES
	INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/prebuilts/include"
	IMPORTED_LOCATION "${_IMPORT_PREFIX}/prebuilts/dll/freeglutd.dll"
	IMPORTED_IMPLIB "${_IMPORT_PREFIX}/prebuilts/lib/freeglutd.lib"
)

add_library(GL::glfw SHARED IMPORTED)
set_target_properties(GL::glfw PROPERTIES
	INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/prebuilts/include"
	IMPORTED_LOCATION "${_IMPORT_PREFIX}/prebuilts/dll/glfw3.dll"
	IMPORTED_IMPLIB "${_IMPORT_PREFIX}/prebuilts/lib/glfw3dll.lib"
)


add_library(GL::GLLIBS INTERFACE IMPORTED)
set_target_properties(GL::GLLIBS PROPERTIES
	INTERFACE_LINK_LIBRARIES "GL::glfw"
)
